class PostThread < ActiveRecord::Base
  has_many :posts, :foreign_key => "thread_id"
  
  def title
    self.posts.find(:first).title
  end
  
end
